package com.yonyou.sto.modules.ums.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_admin_org_relation")
@ApiModel(value="UmsAdminOrgRelation对象", description="用户组织关系表")
public class UmsAdminOrgRelation implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "ID",type = IdType.NONE)
    private String id;

    @ApiModelProperty(value = "ADMIN_ID")
    private String adminId;

    @ApiModelProperty(value = "NCORG_ID")
    private String ncorgId;
}
